home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Hacks / Hacks ’93 / FlashBeepƒ / FlashBeep.readme < prev    next >
Text File  |  1993-06-18  |  906b  |  14 lines

  1. Hack: FlashBeep
  2. Author: Charlie Reading
  3. Entry for "Most Boring Hack"
  4.  
  5. When attending meetings, I commonly kill the sound to my powerbook by putting a plug in the headphone jack, rather than turning the sound down to 0 (its quicker and no one will hear me if I have to reboot).  This creates a problem in that I can't tell if a beep occurs (menubar flashes only when sound level is 0).  Therefore FlashBeep.
  6.  
  7. Because I'm lazy, I use PatchWorks to patch _SysBeep, so I only actually had to write about 4 lines of code (i.e the icon took me about 20 times longer to draw).  It checks the current sound level for 0, so it only flashes once in any case.
  8.  
  9. Things I wanted to do but didn't quite have the time (and I turned it in at the last minute as it was):
  10.  
  11.     A control panel to control its behavior
  12.     Adding a behavior to flash the whole screen rather than just the menu bar
  13.     An animated startup icon
  14.